<#import "add_base.ftl" as add/>
<@add.html>
<#include "add_mb.ftl">

        <tr>
          <th>原停卡费</th>
          <td><input type="text" name="oldStopFee" value="" maxlength="10" class="disable" readonly></td>
          <th>原转让费</th>
          <td><input type="text" name="oldChangeFee" value="" maxlength="10" class="disable" readonly></td>
        </tr>
        <tr>
          <th>原补卡费</th>
          <td><input type="text" name="oldMendFee" value="" maxlength="10" class="disable" readonly></td>
          <th>原转店费</th>
          <td><input type="text" name="oldChgShopFee" value="" maxlength="10" class="disable" readonly></td>
        </tr>
        <tr>
          <td colspan="4"><hr size="1" style="height:1px; color:#dcc; margin-left:10px;"></td>
        </tr>
        <tr>
          <th>新停卡费</th>
          <td><input type="text" name="stopFee" value="" req="新停卡费" maxlength="10"></td>
          <th>新转让费</th>
          <td><input type="text" name="changeFee" value="" req="新转让费" maxlength="10"></td>
        </tr>
        <tr>
          <th>新补卡费</th>
          <td><input type="text" name="mendFee" value="" req="新补卡费" maxlength="10"></td>
          <th>新转店费</th>
          <td><input type="text" name="chgShopFee" value="" req="新转店费" maxlength="10"></td>
        </tr>

<script type="text/javascript">
  function fillData(mc) {
    var fm = getEl("fm_input");
    fm.oldStopFee.value = mc.stopFee;
    fm.oldChangeFee.value = mc.changeFee;
    fm.oldMendFee.value = mc.mendFee;
    fm.oldChgShopFee.value = mc.chgShopFee;
    fm.stopFee.value = mc.stopFee;
    fm.changeFee.value = mc.changeFee;
    fm.mendFee.value = mc.mendFee;
    fm.chgShopFee.value = mc.chgShopFee;
  }
  function clearData() {
    var fm = getEl("fm_input");
    fm.oldStopFee.value = "";
    fm.oldChangeFee.value = "";
    fm.oldMendFee.value = "";
    fm.oldChgShopFee.value = "";
    fm.stopFee.value = "";
    fm.changeFee.value = "";
    fm.mendFee.value = "";
    fm.chgShopFee.value = "";
  }
</script>
</@add.html>